package com.ctgu.demo01.entity;

import com.baomidou.mybatisplus.annotation.EnumValue;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @author ALEX
 * @since 2025/3/11 21:03
 */
@Getter
@AllArgsConstructor
public enum SexEnum {
    MALE(1,"男"),
    FEMALE(2,"女");

    @EnumValue
    private final Integer sex;

    private final String sexName;
}
